Skip to content

Conversation

@elichai
Copy link
Contributor

@elichai elichai commented Oct 8, 2016

New function to unlock the wallet from the code.

bitcoin/rpc.py Outdated
return r

def unlockwallet(self, password, timeout=60):
"""Stores the wallet decryption key in memory for 'timeout' seconds.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last nit: you have both tabs and spaces at the beginning of this line, which is incorrect.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, it's just that I usually use Tabs but in your code you use spaces.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Spaces is typical for Python code; very few people use tabs.

@petertodd petertodd merged commit cee726a into petertodd:master Oct 10, 2016
petertodd added a commit that referenced this pull request Oct 10, 2016
cee726a fixed spacing (elichai2)
09f18b4 Added walet unlocking function (elichai2)
rawBit-io pushed a commit to rawBit-io/python-bitcointx that referenced this pull request Nov 6, 2025
8bff3bd fixed spacing (elichai2)
dbe010a Added walet unlocking function (elichai2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants